package com.hsnn.medstgmini.pro.project.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *@category 采购项目医疗机构日志实体类
 * @author 韩守松
 * @date 2015年7月9日
 */
@Entity
@Table(name = "bid_projhospital_log")
public class BidProjhospitalLog implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2168981184818891002L;
	private String logId;//日志id
	private String projHospId;//项目医疗机构明细id
	private String projId;//采购项目ID
	private String hospId;//医疗机构ID(基础库)
	private short status;//状态0禁用1启用
	private Date updDatetime;//更新时间
	private String updUser;//更新人

	public BidProjhospitalLog() {
	}

	/** full constructor */
	public BidProjhospitalLog(String logId,String projId, String hospId, short status,
			Date updDatetime, String updUser) {
		this.logId = logId;
		this.projId = projId;
		this.hospId = hospId;
		this.status = status;
		this.updDatetime = updDatetime;
		this.updUser = updUser;
	}

	// Property accessors
	@Id
	@Column(name = "log_id", unique = true, nullable = false, length = 36)
	public String getLogId() {
		return this.logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	@Column(name = "proj_hosp_id", length = 36)
	public String getProjHospId() {
		return this.projHospId;
	}

	public void setProjHospId(String projHospId) {
		this.projHospId = projHospId;
	}

	@Column(name = "proj_id",insertable=false,updatable=false, length = 36)
	public String getProjId() {
		return this.projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}

	@Column(name = "hosp_id",insertable=false,updatable=false, length = 36)
	public String getHospId() {
		return this.hospId;
	}

	public void setHospId(String hospId) {
		this.hospId = hospId;
	}

	@Column(name = "status")
	public short getStatus() {
		return this.status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	@Column(name = "upd_datetime", length = 19)
	public Date getUpdDatetime() {
		return this.updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name = "upd_user", length = 36)
	public String getUpdUser() {
		return this.updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
}
